-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(sdk-metrics): clean up exports #3197
chore(sdk-metrics): clean up exports #3197
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3197 +/- ##
=======================================
Coverage 93.21% 93.21%
=======================================
Files 196 196
Lines 6443 6443
Branches 1363 1363
=======================================
Hits 6006 6006
Misses 437 437
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this.
export { TimeoutError } from './utils'; | ||
export * from './view/Aggregation'; | ||
export * from './view/View'; | ||
export { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 We should be explicit about what is exported.
Which problem is this PR solving?
@opentelemetry/sdk-metrics
exports some classes and functions that are intended for internal use. In an effort to reduce the API surface before declaring metrics GA, this PR replaces the existing wildcard exports with explicit exports.Related: #3158
Short description of the changes
Replaces the existing wildcard exports with explicit exports and removes export for:
CollectionResultTimeoutErrorType of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: